<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/5/2
  Time: 16:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
</head>
<body>

<form style="margin-top: 200px" method="get" action="${pageContext.request.contextPath}/user/register.action">
    <table border="1" align="center">
        <tr>
            <td align="center" colspan="2">登录</td>
        </tr>
        <tr>
            <td>用户</td>
            <%--这些参数名称都是Field 属性--%>
            <td><input type="text" name="username" value="${username}"></td>
        </tr>
        <tr>
            <td>日期</td>
            <%--<td><input type="datetime-local" name="hiredate" value="${hiredate}"></td>--%>
        </tr>
        <tr>
            <td>薪水</td>
            <td><input type="number" name="salary" value="${salary}"></td>
        </tr>
        <tr>
            <td align="center" colspan="2"><input type="submit" value="注册"></td>
        </tr>

    </table>
</form>

</body>
</html>
